import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * Title: Test
 * Descrption: TODO
 * Date:2020/3/11 9:10 下午
 * Email:woo0nise@gmail.com
 * Company:www.j2ee.app
 *
 * @author R4v3zn
 * @version 1.0.0
 */
public class Test {
    public static void main(String[] args) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, IOException {
//        Runtime runtime = (Runtime) Runtime.class.getMethod("getRuntime",new Class[0]).invoke(null, new Object[0]);
//        runtime.exec(new String[]{"cmd", "/c", "notepad"});
//        Runtime runtime = Runtime.getRuntime();
//        runtime.exec("");
//       Method method = Runtime.class.getMethod("getRuntime",new Class[0]);
//        Runtime runtime = (Runtime) method.invoke(null,new Object[0]);
//        runtime.exec(new String[]{"cmd", "/c", "notepad"});
        
    }
}
